package com.youlu.campus.entity;

import com.youlu.campus.base.base.EntityBase;
import lombok.Getter;
import lombok.Setter;
import org.springframework.data.mongodb.core.index.Indexed;
import org.springframework.data.mongodb.core.mapping.Document;

/**
 * 用户地址表
 */
@Document(collection = "user_address_info")
@Getter
@Setter
public class UserAddressInfo extends EntityBase {
    @Indexed
    private String userId;
    private String name;
    private String recieveName;
    private String recieveMobile;
    private String province;
    private String city;
    private String area;
    private String fullAddress;
    private Boolean defaulted = Boolean.TRUE;
    private String mobile;
}
